package com.sohoometer.assignmeter.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nari.coreframe.service.GenericServiceImpl;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResultWithPageCond;
import com.sohoometer.assignmeter.bean.AssignMeterDataExceptionResult;
import com.sohoometer.assignmeter.dao.AssignMeterDataExceptionResultDao;

@Service("assignMeterDataExceptionResultService")
public class AssignMeterDataExceptionResultServiceImpl 	extends GenericServiceImpl<AssignMeterDataExceptionResult, String> implements
AssignMeterDataExceptionResultService {
	@Autowired
	private AssignMeterDataExceptionResultDao   assignMeterDataExceptionResultDao = null;
	@Autowired
	public AssignMeterDataExceptionResultServiceImpl(AssignMeterDataExceptionResultDao assignMeterDataExceptionResultDao ) {
		this.assignMeterDataExceptionResultDao = assignMeterDataExceptionResultDao;
		setiGenericDao(assignMeterDataExceptionResultDao);
	}
	
	@Override
	public ResultWithPageCond<AssignMeterDataExceptionResult> queryResultByQueryAndExceptionType(
			String queryId, int exceptionType, PageCond pageCond) {
		return assignMeterDataExceptionResultDao
				.queryResultByQueryAndExceptionType(queryId, exceptionType,
						pageCond);
	}
	
	

	
	
}
